<?php foreach ($this->teacher_course as $val):?>
<?php $data = $this->course_sign_arr[$val['subject_sn']][$val['teacher_sn']]?>
<option value="<?php echo $val['subject_sn']?>-<?php echo $val['teacher_sn']?>"
<?php if($val['number'] <= $data['cc']):?>disabled="disabled"  <?php endif?> >
<?php echo $val['subject_name']?> --<?php echo $val['teacher_name']?> (<?php echo $val['number']?> /<?php echo $data['cc']?>)
</option>
<?php endforeach;?>